package com.suoyue.store.mapper;

import com.suoyue.store.entity.Product;

import java.util.List;

public interface ProductMapper {
    Integer insertProduct(String name,String description,Double price,String image);
    Product findProductByPid(Integer pid);
    List<Product> getProductListByPage(Integer page);
    Integer getProductNum();
    Integer deleteProduct(Integer pid);
    Integer updateProductByPid(Integer pid,String name,String description,Double price,String image);
}
